package com.cw.jeeyt.dao.model.security;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 登陆日志Do
 *
 * @author chenw
 * @date 2020-03-18 20:05:22
 */
@Table(name = "security_login_log")
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SecurityLoginLogDo extends SecurityLoginLogKeyDo implements Serializable {
    private static final long serialVersionUID = 1240247925858656264L;
    /** 用户id */
    @Column(name = "user_id")
    private String userId;
    /** 登陆用户名 */
    @Column(name = "user_name")
    private String userName;
    /** 登陆时间 */
    @Column(name = "login_time")
    private java.util.Date loginTime;
    /** 登陆IP */
    @Column(name = "login_ip")
    private String loginIp;
    /** 登陆是否成功 */
    @Column(name = "is_success")
    private String isSuccess;
    /** 创建人 */
    @Column(name = "create_by")
    private Long createBy;
    /** 创建时间 */
    @Column(name = "create_date")
    private java.util.Date createDate;
    /** 修改人 */
    @Column(name = "update_by")
    private Long updateBy;
    /** 修改时间 */
    @Column(name = "update_date")
    private java.util.Date updateDate;
    /** 登出时间 */
    @Column(name = "log_out_time")
    private java.util.Date logOutTime;
}
